package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.crm.model.pojo.TimeDeal;

public interface LLJ_TimeDealDao extends CrudRepository<TimeDeal,Long>{  
 
	 @Query("select new cn.gson.crm.model.pojo.TimeDeal(t.dealId,t.dealContain) from TimeDeal t")
	 public List<TimeDeal> searchAllTimeDeal();   
}
